package Year22_Month05.day07;

public class 重复的子字符串_一行代码版 {
    public boolean repeatedSubstringPattern(String s) {
        return (s+s).substring(1,s.length()*2-1).indexOf(s) != -1;
    }
}
